NOTES: Enter the correct names for the Galil motor controllers
in the homeslit and zero aliases below (Example:galil_motor_accelera_3, etc.)


[homeslitA]
definition="method galil_motor_accelera_3 execute_command s "XQ#HM_A""
numbervars=0
minvars=0
help="home and zero all four slitA motors"

[homeslitB]
definition="method galil_motor_accelera_3 execute_command s "XQ#HM_B""
numbervars=0
minvars=0
help="home and zero all four slitB motors"

[shiftA_h]
definition="drive bar @(bar)-%1 bal @(bal)+%1"
numbervars=1
minvars=1
help="shift slitA horizontal blades"

[shiftA_v]
definition="drive bat @(bat)+%1 bab @(bab)-%1"
numbervars=1
minvars=1
help="shift slitA vertical blades"


[shiftB_h]
definition="drive bbr @(bbr)-%1 bbl @(bbl)+%1"
numbervars=1
minvars=1
help="shift slitB horizontal blades"

[shiftB_v]
definition="drive bbt @(bbt)+%1 bbb @(bbb)-%1"
numbervars=1
minvars=1
help="shift slitB vertical blades"


[zeroA]
definition="method galil_motor_accelera_3 execute_command s "DPA=0;DPB=0;DPC=0;DPD=0""
numbervars=0
minvars=0
help="zero all four slitA motors, right where they are"

[zeroB]
definition="method galil_motor_accelera_3 execute_command s "DPE=0;DPF=0;DPG=0;DPH=0""
numbervars=0
minvars=0
help="zero all four slitB motors, right where they are"


[slitopenA]
definition="drive bat 39.0 bab 39.0 bar 39.0 bal 39.0"
numbervars=0
minvars=0
help="drive all four slitA motors to wide open"

[slitcloseA]
definition="drive bat 0 bab 0 bar 0 bal 0"
numbervars=0
minvars=0
help="drive all four slitA motors until closed"

[slitopenB]
definition="drive bbt 39.0 bbb 39.0 bbr 39.0 bbl 39.0"
numbervars=0
minvars=0
help="drive all four slitB motors to wide open"

[slitcloseB]
definition="drive bbt 0 bbb 0 bbr 0 bbl 0"
numbervars=0
minvars=0
help="drive all four slitB motors until closed"